﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace IOPerformanceVerifier
{
    public class ThreadState
    {
        private System.Threading.CancellationToken _cancellationToken;
        private ThreadConfigutation _threadConfigutation;

        public ThreadState(System.Threading.CancellationToken cancellationToken, ThreadConfigutation threadConfigutation)
        {
            _cancellationToken = cancellationToken;
            _threadConfigutation = threadConfigutation;
        }

        public ThreadConfigutation ThreadConfiguration 
        { 
            get
            {
                return _threadConfigutation;
            }
        }

        public System.Threading.CancellationToken CancellationToken 
        { 
            get
            {
                return _cancellationToken;
            }
        }
    }
}
